<?php
/**
 * 约课模板通知记录模块
 */

class Send_template_msg_log_model extends CT_Model{
    const TYPE_1 = 1;
    const TYPE_2 = 2;
    const TYPE_3 = 3;
    const TYPE_4 = 4;
    const TYPE_5 = 5;
    const TYPE_6 = 6;
    const TYPE_7 = 7;
    const TYPE_8 = 8;
    const TYPE_9 = 9;
    const TYPE_10 = 10;
    
    public static $type_list = array(
        self::TYPE_1=>'用户预约成功通知',
        self::TYPE_2=>'用户上课前提醒通知',
        self::TYPE_3=>'老师取消预约通知',
        self::TYPE_4=>'用户下课后提醒确认下课通知',
        self::TYPE_5=>'用户确认下课后提醒评价通知',
        self::TYPE_6=>'老师收到预约通知',
        self::TYPE_7=>'老师上课前提醒通知',
        self::TYPE_8=>'用户取消预约通知',
        self::TYPE_9=>'老师下课后提醒确认下课通知',
        self::TYPE_10=>'老师收到用户评价通知'
    );
    
    public $_table = 'send_template_msg_log';
    
    public function __construct()
    {
        parent::__construct();
        $this->load->database();
    }
}
